﻿using System;
using System.Collections.Generic;
using System.Text;
using Yichat.MicroService.Interface;
using Yichat.MicroService.Model;

namespace Yichat.MicroService.Service
{
    public class UserService : IUserService
    {
        private List<User> Users = new List<User>
        {
            new User
            {
                Id = Guid.NewGuid(),
                Name = "Messi",
            },
            new User
            {
                Id = Guid.NewGuid(),
                Name = "CR7",
            },
            new User
            {
                Id = Guid.NewGuid(),
                Name = "Laoer",
            },
        };

        public List<User> GetUsers()
        {
            return Users;
        }
    }
}
